ShortPixel\Controller\FileSystemController B

Total Complexity 92
Dependencies 6
Dependents 2
Total lines 513
Lines of code 292
Logical lines of code 169
Comment lines 113
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
40 21 54
getBackupDirectory()
A
50 9 28
getMediaImage()
A
53 8 23
pathIsUrl()
S
61 9 10
getWPAbsPath()
S
55 5 20
flushImage()
S
60 5 13
sortFiles()
S
58 4 16
getCustomImage()
S
62 4 12
url_exists()
S
57 3 18
getImage()
S
59 3 16
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
checkURL()
S
64 3 10
startTrustedMode()
S
70 2 7
endTrustedMode()
S
70 2 7
checkBackUpFolder()
S
73 1 5
getWPUploadBase()
S
74 1 4
getFile()
S
80 1 3
getDirectory()
S
80 1 3
getOriginalImage()
S
72 1 5
getCustomStub()
S
73 1 5
flushImageCache()
S
74 1 5
__construct()
S
80 1 3